package com.example.demo.Entity;

public class Player {
    private String name;
    private int age;
    private int maxHp;
    private int hp;
    private int ap;

    public Player(String name, int age, int maxHp, int hp, int ap) {
        this.name = name;
        this.age = age;
        this.maxHp = maxHp;
        this.hp = hp;
        this.ap = ap;
    }

    public Player(){}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getMaxHp() {
        return maxHp;
    }

    public void setMaxHp(int maxHp) {
        this.maxHp = maxHp;
    }

    public int getHp() {
        return hp;
    }

    public void setHp(int hp) {
        this.hp = hp;
    }

    public int getAp() {
        return ap;
    }

    public void setAp(int ap) {
        this.ap = ap;
    }
}
